ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct3D11 Namespace / Texture2D Class / Create Method / Create(Device,Texture2DDescription,DataBox[]) Method
The device with which to associate the texture.
The description of the texture.
An array of initial texture data for each subresource.

In This Topic
    Create(Device,Texture2DDescription,DataBox[]) Method
    In This Topic
    Initializes a new instance of the Texture2D class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal description As Texture2DDescription, _
       ByVal data() As DataBox _
    ) As Texture2D
    public static Texture2D Create( 
       Device device,
       Texture2DDescription description,
       DataBox[] data
    )

    Parameters

    device
    The device with which to associate the texture.
    description
    The description of the texture.
    data
    An array of initial texture data for each subresource.
    See Also